package com.chuyu.jzwboa.fragment.message;

import android.widget.ListView;

import com.chuyu.jzwboa.R;
import com.chuyu.jzwboa.adapter.message.NotiyAdater;
import com.chuyu.jzwboa.base.MVPBaseFragment;
import com.chuyu.jzwboa.presenter.message.NotifyFragPresenter;
import com.chuyu.jzwboa.view.iview.message.INotifyFragView;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

/**
 * @author 杨仕俊
 * @desription 通知fragment
 * Created by wo on 2017/12/15.
 */

public class NotifyFragment extends MVPBaseFragment<INotifyFragView, NotifyFragPresenter> implements INotifyFragView {
    @BindView(R.id.notity_listview)
    ListView notityListview;

    @Override
    protected void initView() {
        List<String> arrayList = new ArrayList<>();
        for (int i = 0; i < 6; i++) {
            arrayList.add("");
        }
        NotiyAdater adater = new NotiyAdater(getActivity(), arrayList);
        notityListview.setAdapter(adater);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int initContentLayout() {
        return R.layout.fragment_notify;
    }

    @Override
    public NotifyFragPresenter createPresenter() {
        return new NotifyFragPresenter();
    }


}
